<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单-日期标签</title>
</head>
<body>

<h3>表单-日期标签</h3>
<!--纯粹的年月日-->
<input type="date">
<!--除了年月日还有时分秒-->
<input type="datetime-local">
</body>
</html>